#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
void my_memcpy(void* arr1, void* arr2, int sz)
{
	int i = 0;
	for (i = 0; i < sz; i++)
	{
		*(char*)arr1 = *(char*)arr2;
		++(char*)arr1;
		++(char*)arr2;
	}
}
int main()
{
	char arr1[] = "Hello";
	char arr2[] = "Hi";
	my_memcpy(arr1, arr2, 2);
	printf("%s\n", arr1);
	printf("%s\n", arr2);
	return 0;
}